#!/bin/sh
CALLDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. "${CALLDIR}/SetEnv.sh"
cd ${CALLDIR}
function pause(){
   read -p "$*"
}
echo ==================================
echo =          RESend Mail           =
echo =       By Otto Abreu            =
echo ==================================
echo.
echo.
echo
echo
echo "work directory: ${CALLDIR}"
echo "library directory: ${LIBDIR}"
CLASSPATH=${CLASSPATH}${CP_SENDMAIL}
echo "Classpath:"
echo
echo
echo
echo ${CLASSPATH}
echo
echo
echo
echo
java  com.google.code.ojar.sendtemplatemail.console.exec.ResendMailMain
echo  RETURNS: $?
pause 'Press [Enter] key to continue...'


